POV-Ray : Newsgroups : povray.general : Easy math question : Easy math question Server Time
5 Aug 2024 18:25:20 EDT (-0400)
  Easy math question  
From: Hugo
Date: 9 Aug 2002 16:01:43
Message: <3d541fa7@news.povray.org>
Sometimes I feel quite dull... Do you mind if I ask a dull question?  Well
for those who don't mind: I have a vector. How do I rotate a cylindrical
pattern, so it faces towards that vector? Example:

#declare Vector=<257,47,2>;
#declare Origin=<0,0,0>;

cylinder { Origin,Vector, 1
    pigment { cylindrical rotate Vector? }
}

It's so easy, right ... so tell me... :o} I already tried a bunch of things
and I'm getting tired.

Thank you,
Hugo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.